package com.inctech.clz2.test1;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

	public class Five {
		public static void main(String args[]) throws IOException{
	        String filePath = "words.txt";
	        FileInputStream fp = new FileInputStream(filePath);
	        InputStreamReader rd = new InputStreamReader(fp);
	        BufferedReader br = new BufferedReader(rd);
	        String A = "";
	        while((A = br.readLine())!=null){
	            System.out.println(A);
	        }
	        br.close();
	    }
	}

